package android.tusnotas.beans;

import java.util.ArrayList;
import java.util.List;

public class Group {
	private Integer id;
	private String name;
	private List<Person> persons;
	private List<GroupMessage> messages;
	private List<GroupFile> files;

	public Group(){
		this.persons = new ArrayList<Person>();
	}

	public Group(Integer id, String name) {
		super();
		this.id = id;
		this.name = name;
		this.persons = new ArrayList<Person>();
		this.messages = new ArrayList<GroupMessage>();
		this.files = new ArrayList<GroupFile>();
	}

	public Group(String name) {
		super();
		this.name = name;
		this.persons = new ArrayList<Person>();
		this.messages = new ArrayList<GroupMessage>();
		this.files = new ArrayList<GroupFile>();
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<Person> getPersons() {
		return persons;
	}

	public void setPersons(List<Person> persons) {
		this.persons = persons;
	}

	public List<GroupMessage> getMessages() {
		return messages;
	}

	public void setMessages(List<GroupMessage> messages) {
		this.messages = messages;
	}

	public List<GroupFile> getFiles() {
		return files;
	}

	public void setFiles(List<GroupFile> files) {
		this.files = files;
	}

}
